EdgeList
EdgeList[g] gives the list of edges for the graph g.
EdgeList[g,patt] gives a list of edges that match the pattern patt.
EdgeList[{v->w,…},…] uses rules v->w to specify the graph g.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.